This page last changed on Mar 21, 2006 by tcarlson.

The following demonstrates how to configure Mule to use the Tibco Enterprise Message Server (EMS) with authentication in place.

<connector name="jmsConnector" className="org.mule.providers.jms.JmsConnector">
        <properties>
            <property name="jndiProviderUrl" value="tibjmsnaming://<ip or hostname>:port"/>
            <property name="connectionFactoryJndiName" value="QueueConnectionFactory"/>
            <map name="jndiProviderProperties">
                <property name="java.naming.factory.initial" value="com.tibco.tibjms.naming.TibjmsInitialContextFactory"/>

                <!-- These are JNDI authentication -->
                <property name="java.naming.security.principal" value="<username>"/>
                <property name="java.naming.security.credentials"value="<password>/>
            </map>

            <!-- These are used for Queue-level access authentication -->
            <property name="username" value="<username>"/>
            <property name="password" value="<password>"/>

        </properties>
    </connector>
Document generated by Confluence on Nov 27, 2006 10:27